package com.example.his.api.mis.service;

import com.example.his.api.common.PageUtils;
import com.example.his.api.db.pojo.UserEntiy;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface UserService {
  public Integer login(Map param);
  
  public int updatePassword(Map param);
  
  public PageUtils searchByPage(Map param);
  
  public int insert(UserEntiy user);
  
  public HashMap searchById(int userId);
  
  public int update(Map param);
  
  public int deleteByIds(Integer[] ids);
  
  public int dismiss(int userId);
  
  //  查询当前医生的摘要信息
  public HashMap searchDoctorById(int id);
  
  // 根据部门查找用户
  public PageUtils searchByDeptId(Map param);
  
  
}
